﻿/*-------------------------------------------------------------------------
* 命名空间: ScreenCapture.Core.Settings.Models/VisualSettings
* 类       名: VisualSettings
* 功      能:  TD
* 时      间:  2023/12/6 13:40:08
* 版      本:  V1.0
* 作      者:  Fioman
* 格      言:  Talk is cheap,show me the code ^_^
*-------------------------------------------------------------------------*/
using ScreenCapture.Base.Settings;
using System;
using System.Collections.Generic;
using System.Text;

namespace ScreenCapture.Core.Models
{
    public class VisualSettings : PropertyStore
    {
        /// <summary>
        /// 语言设置,默认是中文
        /// </summary>
        public string Language
        {
            get => Get("zh-CN");
            set => Set(value);
        }

        /// <summary>
        ///  设置窗口在屏幕上的位置属性,设置窗口左边缘距离屏幕左边缘的距离.
        ///  默认是50
        /// </summary>
        public int MainWindowLeft
        {
            get => Get(50);
            set => Set(value);
        }

        /// <summary>
        /// 设置窗口在屏幕上的位置属性,设置窗口上边缘举例屏幕上边缘的距离.
        /// 默认是50
        /// </summary>
        public int MainWindowTop
        {
            get => Get(50);
            set => Set(value);
        }

        /// <summary>
        /// 窗口是否总是在最上层显示,是否允许其他窗口遮挡
        /// </summary>
        public bool MainWindowTopmost
        {
            get => Get(true);
            set => Set(value);
        }
    }
}
